package ooday03;

public class RefArrDemo {
//    public static void main(String[] args) {
//        Dog[] dogs=new Dog[3];
//        Fish[] fishes=new Fish[3];
//        Chick[] chicks=new Chick[3];
//        dogs[0]=new Dog("hei","black",2);
//        dogs[1]=new Dog("hei","white",1);
//        dogs[2]=new Dog("hei","black",1);
//        fishes[0]=new Fish("hei","black",2);
//        System.out.println(dogs[0]);
//        System.out.println(fishes[1]);
//        System.out.println(chicks);
//
//    }
}
